package com.sixmac.module;

import com.sixmac.core.base.model.BaseModel;
import org.beetl.sql.core.annotatoin.Table;

import java.util.Date;

/**
 * TenantRoom
 * 2018-09-05 10:08:56
 *
 * @author Blade
 */
@Table(name = "t_tenant_room")
@SuppressWarnings("serial")
public class TenantRoom extends BaseModel {

    private Integer id;
    /**
     * 入住申请1通过2拒绝3申请中
     */
    private Integer approve;
    /**
     * 房东id
     */
    private Integer landlordId;
    /**
     * 房屋id
     */
    private Integer roomId;
    /**
     * 1入住中2退租
     */
    private Integer status;
    /**
     * 房客id
     */
    private Integer tenantId;
    /**
     * 合同
     */
    private String contract;
    private String contract2;
    private String contract3;
    /**
     * 指纹
     */
    private Integer fingerprint;
    private String info;
    /**
     * 密钥
     */
    private String key;
    private Date createDate;
    /**
     * 结束时间
     */
    private Date endDate;
    /**
     * 开始时间
     */
    private Date startDate;
    /**
     * 密钥
     */
    private Date updateDate;

    /**
     * 是否是管理员
     */
    private Integer isAdmin;

    private Date lockStartTime;
    private Date lockEndTime;
    private Integer payId;
    private Integer deleteStatus;
    private Date adminTime;
    private Integer defence;
    private Date defenceTime;

    public Date getDefenceTime() {
        return defenceTime;
    }

    public void setDefenceTime(Date defenceTime) {
        this.defenceTime = defenceTime;
    }

    public Integer getDefence() {
        return defence;
    }

    public void setDefence(Integer defence) {
        this.defence = defence;
    }

    public Date getAdminTime() {
        return adminTime;
    }

    public void setAdminTime(Date adminTime) {
        this.adminTime = adminTime;
    }

    public Integer getDeleteStatus() {
        return deleteStatus;
    }

    public void setDeleteStatus(Integer deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    public Date getLockStartTime() {
        return lockStartTime;
    }

    public Date getLockEndTime() {
        return lockEndTime;
    }

    public Integer getPayId() {
        return payId;
    }

    public void setPayId(Integer payId) {
        this.payId = payId;
    }

    public void setLockStartTime(Date lockStartTime) {
        this.lockStartTime = lockStartTime;
    }

    public void setLockEndTime(Date lockEndTime) {
        this.lockEndTime = lockEndTime;
    }

    public Integer getIsAdmin() {
        return isAdmin;
    }

    public void setIsAdmin(Integer isAdmin) {
        this.isAdmin = isAdmin;
    }

    public Integer getFingerprint() {
        return fingerprint;
    }

    public String getContract2() {
        return contract2;
    }

    public void setContract2(String contract2) {
        this.contract2 = contract2;
    }

    public String getContract3() {
        return contract3;
    }

    public void setContract3(String contract3) {
        this.contract3 = contract3;
    }

    public void setFingerprint(Integer fingerprint) {
        this.fingerprint = fingerprint;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getApprove() {
        return approve;
    }

    public void setApprove(Integer approve) {
        this.approve = approve;
    }

    public Integer getLandlordId() {
        return landlordId;
    }

    public void setLandlordId(Integer landlordId) {
        this.landlordId = landlordId;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getTenantId() {
        return tenantId;
    }

    public void setTenantId(Integer tenantId) {
        this.tenantId = tenantId;
    }

    public String getContract() {
        return contract;
    }

    public void setContract(String contract) {
        this.contract = contract;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }


}
